001 package net.sf.xdc.util;
002
003 /*
004 * Copyright 2005-2006 Jens Voß.
005 *
006 * Licensed under the GNU Lesser General Public License (the "License");
007 * you may not use this file except in compliance with the License.
008 * You may obtain a copy of the License at
009 *
010 * http://opensource.org/licenses/lgpl-license.php
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018
019 /**
020 * This class implements an unspecific exception that is thrown if an
021 * exception occurs during XML processing.
022 *
023 * @author Jens Voß
024 * @since 0.5
025 * @version 0.5
026 */
027 public class XmlException extends Exception {
028
029 /**
030 * This public constructor wraps an Exception that occurs during XML
031 * processing.
032 *
033 * @param cause An exception thrown during XML processing
034 */
035 public XmlException(Throwable cause) {
036 super(cause);
037 }
038
039 }